@import "./common.css";

// 头部样式开始
html {
    overflow-x: hidden;
    background: url(./../images/bg2.png) repeat;
}

body {
    overflow-x: hidden;

}

header {
    width: 100%;
    height: auto;
    position: relative;

    .bg {
        width: 100%;
        height: auto;
    }

    .small-title {
        color: white;
        background: #850000;
        width: 210px;
        padding: 5px;
        margin-top: 20px;
        position: absolute;
        z-index: 2;
    }

    div.font-box {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;

        .lastfont {
            width: 100%;
            position: absolute;
            bottom: 0;
            height: 45%;

            .bird {
                img {
                    width: 50px;
                }
            }

            .font {
                display: flex;
                align-items: center;
                justify-content: center;

                img {
                    width: 60%;
                }
            }

            .phone {
                background-position: red;
                margin-top: 7px;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            >ul {
                position: absolute;
                width: 100%;
                height: auto;
                display: flex;
                align-items: center;
                justify-content: center;
                height: 95px;

                li {
                    background: url(./../images/web1-2.png) no-repeat;
                    height: 82px;
                    width: 82px;
                    background-size: cover;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-wrap: wrap;

                    margin: 0px 11px;

                    p {
                        width: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-wrap: wrap;
                        color: white;
                        font-size: 20px;
                    }
                }
            }
        }
    }
}

// 头部样式结束

// 页面主体开始
main {
    padding-bottom: 20px;

    section {
        padding-bottom: 20px;

        &.query {
            p {
                display: flex;
                align-items: center;
                justify-content: center;

                &:nth-of-type(1) {
                    font-size: 25px;
                }

                &:nth-of-type(2) {
                    padding: 5px 0px;
                    font-size: 15px;
                    color: rgb(148, 143, 143);
                }
            }
        }

        &.video {
           
            video {
                height: 300px;
               
                width: 100%;
            }

            >div {
                padding: 0px 20px;
                display: flex;
                justify-content: space-between;
                font-size: 12px;

                .left {
                    line-height: 1.5;

                    p {
                        &:nth-of-type(1) {
                            font-weight: bold;
                        }

                        &:nth-of-type(2) {
                            color: #888;
                        }
                    }
                }

                .right {
                    .button {
                        background: #3388ff;
                        padding: 5px 15px;
                        border-radius: 6px;
                        color: white;

                        // 动画
                        animation-name: mychange;
                        /*动画的名字*/
                        animation-duration: 1000ms;
                        /*定义动画完成一个周期所需要的时间，以秒或毫秒计*/
                        animation-iteration-count: infinite;
                        /*定义动画的播放次数，这里是无限播放*/
                        animation-direction: alternate;
                        /*定义是否应该轮流反向播放动画，这里是动画轮流播放*/

                        @keyframes mychange {

                            /*mychange是动画的名字上面有用到*/
                            0% {
                                transform: scale(1.1);
                            }

                            90% {
                                transform: scale(1);
                            }

                            100% {
                                transform: scale(1);
                            }
                        }
                    }
                }
            }
        }

        &.legal-services {
            .title {
                display: flex;
                align-items: center;
                justify-content: space-between;

                img {
                    width: 20%;
                }

                div {
                    width: 60%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-wrap: wrap;

                    p {
                        color: #862c2c;
                        font-size: 33px;
                    }
                }
            }

            .smalll-title {
                color: #862c2c;
                font-size: 16px;
                display: flex;
                justify-content: center;
                margin-bottom: 10px;
            }

            ul {
                width: 100%;
                padding: 0px 15px;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;

                li {
                    width: 47%;
                    position: relative;
                    margin-bottom: 30px;

                    img {
                        width: 100%;
                    }

                    p {
                        &:nth-of-type(1) {
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            left: 6px;
                            top: 6px;
                        }

                        &:nth-of-type(2) {
                            position: absolute;
                            left: 0px;
                            bottom: 10px;
                            z-index: 2;
                            font-size: 15px;
                            background: #6e1414;
                            color: white;
                            width: 75%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            padding: 3px 0px;
                        }
                    }
                }
            }
        }

        &.choose-us {
            .title {
                display: flex;
                align-items: center;
                justify-content: space-between;

                img {
                    width: 15%;
                }

                div {
                    width: 70%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-wrap: wrap;

                    p {
                        color: #862c2c;
                        font-size: 33px;
                        text-align: center;
                    }
                }
            }

            .smalll-title {
                color: #862c2c;
                font-size: 16px;
                display: flex;
                justify-content: center;
                margin-bottom: 10px;
            }

            ul {
                width: 100%;
                padding: 0px 15px;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;

                li {
                    width: 50%;
                    height: 180px;
                    position: relative;
                    margin-bottom: 30px;
                    background: url(./../images/radio1.png) no-repeat;
                    background-size: 150px;
                    background-position: top center;

                    div {
                        display: flex;
                        justify-content: center;
                        flex-wrap: wrap;
                        height: 130px;

                        img {
                            margin-top: -10px;
                            width: 60px;
                            height: 60px;
                            margin-top: 20px;
                        }

                        >p {
                            text-align: center;
                            width: 100%;
                            font-weight: bold;
                        }
                    }

                    >p {
                        text-align: center;
                        font-size: 13px;
                        padding: 10px 10px;
                    }
                }
            }
        }

        &.power {
            padding-bottom: 0;
            width: 100%;
            position: relative;

            img {
                width: 100%;
            }

            div {
                padding: 20px 0px;
                box-sizing: border-box;
                width: 100%;
                height: 100%;
                position: absolute;
                left: 0;
                top: 0;
                z-index: 2;
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                justify-content: center;

                p {
                    width: 100%;
                    color: #e7e7e7;
                    text-align: center;

                    &:nth-of-type(1) {
                        font-size: 17px;
                    }

                    &:nth-of-type(2) {
                        font-size: 27px;
                    }

                    &:nth-of-type(3) {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-size: 30px;

                        img {
                            width: 30px;
                            height: auto;
                        }
                    }
                }
            }
        }

        &.related-case {
            .title {
                display: flex;
                align-items: center;
                justify-content: space-between;

                img {
                    width: 20%;
                }

                div {
                    width: 60%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-wrap: wrap;

                    p {
                        color: #862c2c;
                        font-size: 33px;
                        text-align: center;
                    }
                }
            }

            .smalll-title {
                color: #862c2c;
                font-size: 16px;
                display: flex;
                justify-content: center;
                margin-bottom: 10px;
            }

            ul {
                width: 100%;
                box-sizing: border-box;

                li {
                    padding: 0px 10px;
                    box-sizing: border-box;
                    width: 100%;
                    display: flex;
                    align-items: center;
                    margin-bottom: px;
                    margin-bottom: 8px;

                    img {
                        width: 6vw;
                        margin-right: 10px;
                    }

                    p {
                        width: 100%;
                        padding: 0px 10px;
                        border-bottom: 1px solid #545353;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;

                        span {
                            &:nth-of-type(1) {
                                font-size: 14px;
                                color: #333;
                            }

                            &:nth-of-type(2) {
                                font-size: 15px;

                                color: #c21212;
                            }
                        }
                    }
                }
            }
        }

        &.team {
            .title {
                display: flex;
                align-items: center;
                justify-content: space-between;

                img {
                    width: 20%;
                }

                div {
                    width: 60%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-wrap: wrap;

                    p {
                        color: #862c2c;
                        font-size: 33px;
                        text-align: center;
                    }
                }
            }

            .smalll-title {
                color: #862c2c;
                font-size: 16px;
                display: flex;
                justify-content: center;
                margin-bottom: 10px;
            }

            .team-info {
                display: flex;
                padding: 0px 10px;
                box-sizing: border-box;
                height: 180px;

                .left {
                    margin-left: 10px;
                    display: flex;
                    align-items: flex-end;
                    width: 40%;

                    img {
                        width: 100px;
                    }
                }

                .right {
                    margin-left: 20px;
                    width: 60%;

                    p {
                        &:nth-of-type(1) {
                            color: rgb(151, 20, 20);
                            font-size: 19px;
                            padding-bottom: 20px;
                            border-bottom: 2px solid #d28b8b;
                        }

                        &:nth-of-type(2) {
                            margin-top: 15px;
                            font-size: 14px;
                            line-height: 1.5;
                        }
                    }
                }
            }
        }

        &.form {
            width: 100%;
            height: 100%;
            position: relative;

            .yzm {
                position: absolute;
                bottom: 165px;
                right: 20px;
            }

            form {
                width: 100%;
                height: 100%;

                h1 {
                    font-size: 25px;
                    text-align: center;
                }

                .font1 {
                    text-align: center;
                    font-size: 15px;
                    color: #7f7f7f;
                    line-height: 1.8;
                }

                .font2 {
                    img {
                        height: 22px;
                    }

                    color: #c74767;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 12px;

                    span {
                        padding: 1px;
                        background: #c74767;
                        color: white;
                        font-weight: bold;
                        display: inline-block;
                        margin: 0px 5px;
                        border-radius: 6px;


                    }
                }

                .form-box {
                    margin: 10px 0px;
                    padding: 0px 10px;

                    input[type="text"] {
                        border: 1px solid #eee;
                        outline: none;
                        border-radius: 3px;
                        font-size: 14px;
                        box-sizing: border-box;
                        width: 100%;
                        height: 38px;
                        margin: 0;
                        padding-left: 8px;
                        padding-right: 36px;
                        border: 1px solid #f1f1f1;
                        line-height: 20px;
                        margin-bottom: 10px;
                    }

                    textarea {
                        border: 1px solid #eee;
                        outline: none;
                        border-radius: 3px;
                        font-size: 14px;
                        box-sizing: border-box;
                        width: 100%;
                        height: 150px;
                        margin: 0;
                        padding-left: 8px;
                        padding-right: 36px;
                        border: 1px solid #f1f1f1;
                        line-height: 20px;
                        margin-bottom: 10px;
                    }

                    .tip-info {
                        margin-bottom: 15px;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        span:nth-of-type(1) {
                            margin-right: 15px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            border: 1px solid #cecece;
                            width: 13px;
                            height: 13px;
                            border-radius: 50px;
                        }

                        span:nth-of-type(2) {
                            color: #d80233;
                        }

                        font-size: 12px;
                        text-align: center;
                        color: #66667f;

                    }

                    .submit-bg {
                        background: #b9103c;
                        border-radius: 3px;
                        position: relative;
                        // 动画
                        animation-name: mybuttonchange;
                        /*动画的名字*/
                        animation-duration: 1000ms;
                        /*定义动画完成一个周期所需要的时间，以秒或毫秒计*/
                        animation-iteration-count: infinite;
                        /*定义动画的播放次数，这里是无限播放*/
                        animation-direction: alternate;
                        /*定义是否应该轮流反向播放动画，这里是动画轮流播放*/

                        @keyframes mybuttonchange {

                            /*mychange是动画的名字上面有用到*/
                            0% {
                                transform: scale(1);
                            }

                            100% {
                                transform: scale(1.05);
                            }
                        }

                        img {
                            position: absolute;
                            left: 0;
                            // 动画
                            animation-name: mychange2;
                            /*动画的名字*/
                            animation-duration: 2000ms;
                            /*定义动画完成一个周期所需要的时间，以秒或毫秒计*/
                            animation-iteration-count: infinite;
                            /*定义动画的播放次数，这里是无限播放*/

                            @keyframes mychange2 {
                                0% {
                                    left: 0%;
                                }

                                99% {
                                    left: 100%;
                                }

                                100% {
                                    left: 0;
                                }
                            }
                        }

                        input[type="submit"] {
                            outline: none;
                            font-size: 14px;
                            border-radius: 3px;

                            box-sizing: border-box;
                            width: 100%;
                            height: 38px;
                            margin: 0;
                            line-height: 20px;
                            color: white;
                            text-align: center;
                            background: none;
                        }
                    }
                }
            }
        }

        &.list {
            background-color: rgba(167, 27, 27, 0.05);
            height: 211px;
            margin: 0px 15px;
            border-radius: 22px;

            p {
                color: #b71238;
                font-size: 18px;
                font-weight: bold;
                text-align: center;
                padding-top: 23px;
            }

            .swiper-block {
                margin-top: 20px;
                height: 150px;
                overflow: hidden;

                .swiper-container {
                    width: 100%;
                    height: 150px;

                    .swiper-wrapper {
                        height: 50px;

                        .swiper-slide {
                            display: flex;
                            align-items: center;
                            justify-content: space-around;
                            color: #b9103c;

                            img {
                                width: 18px;
                            }

                            span {
                                display: flex;
                                justify-content: center;

                                &:nth-of-type(2) {
                                    width: 50px;
                                }

                                &:nth-of-type(3) {
                                    width: 130px;
                                }

                                &:nth-of-type(4) {
                                    width: 80px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

// 页面主体结束
footer {
    margin-bottom: 45px;
    overflow-y: hidden;

    p {
        background: #fafafa;
        font-size: 12px;
        color: #999;

        text-align: center;
        padding: 10px;
    }

    .about-us {
        a {
            width: 100%;
            height: 45px;
            background: #9c1314;
            font-size: 17px;
            color: white;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        position: fixed;
        bottom: 0;
        width: 100%;
        height: 45px;
        background: #9c1314;
        z-index: 3;
    }
}